<?php
/*
 * Created on 07.12.2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

include_once 'JF_AbstractController.php';


class JF_Controller extends JF_AbstractController {
	public function edit() {

	}

	public function view () {

	}

	final public function execute() {
		if ($this->isRequest()) {
			$this->edit();
		}
		else {
			$oView = $this->view();
			if ($oView instanceof JF_IView) {
				$oView->render();
			}

		}

	}

}